package cn.ylz.ylmall.content.dao.persist.mapper;

import cn.ylz.ylmall.content.pojo.entity.Like;
import cn.ylz.ylmall.content.pojo.vo.CountVO;
import cn.ylz.ylmall.content.pojo.vo.LikeStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface LikeMapper extends BaseMapper<Like> {


    int deleteLike(Long userId, Long contentId);

    CountVO countLike(Long contentId);

    LikeStandardVO selectIsLike(Long userId, Long contentId);
}
